package com.example.web.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.example.web.entity.User;
@Mapper
@Repository
public interface UserMapper {

	Integer save (User user);
	
	Integer remove(@Param("id")Integer id);
	
	Integer change(User user);
	
	User getUser(@Param("id")Integer id);
	
	List<User> getList();
}
